package dexter.core.common;

import dexter.net.msg.common.ResponseParams;
import dexter.testing.EvaluationValues;

public class FinishResult implements ResponseParams {

	private static final long serialVersionUID = -5458964230763663163L;
	
	private EvaluationValues remoteResult;
	private boolean ok;
	private String experimentId;
	
	
	public FinishResult(boolean ok, String experimentId, EvaluationValues remoteResult) {
		this.ok = ok;
		this.experimentId = experimentId;
		this.remoteResult = remoteResult;
	}

	public EvaluationValues getRemoteResult() {
		return remoteResult;
	}


	public String getExperimentId() {
		return experimentId;
	}

	public boolean isOk() {
		return ok;
	}
	
    public String toString() {
    	return "experiment "+experimentId+" (ok: "+ok+")";
    }


}